package cn.bdqn.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author wei
 * @since 2024-05-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_right")
public class SysRight implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "right_code", type = IdType.AUTO)
    private String rightCode;

    @TableField("right_parent_code")
    private String rightParentCode;

    @TableField("right_type")
    private String rightType;

    @TableField("right_text")
    private String rightText;

    @TableField("right_url")
    private String rightUrl;

    @TableField("right_tip")
    private String rightTip;

    @TableField(exist = false)
    private String rightParentName;


}
